//
//  MineHeaderCell.m
//  TheRoadAD
//
//  Created by baixue on 16/8/4.
//  Copyright © 2016年 baixue. All rights reserved.
//

#import "MineHeaderCell.h"

@implementation MineHeaderCell

- (void)awakeFromNib {
   
}

- (void)layoutSubviews {
    [super layoutSubviews];
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(touchUp)];
    [_headImg addGestureRecognizer:tap];
}

//点击头像
- (void)touchUp{
    _TOUCHUP();
    
}
//头像设置圆角
- (void)drawRect:(CGRect)rect{
    _headImg.layer.cornerRadius = _headImg.frame.size.width/2;
    _headImg.layer.masksToBounds = YES;
}


@end
